package com.zhouyibike.uu.entity;

import com.google.gson.annotations.SerializedName;

/**
 * Created by cc on 2017/5/22.
 */

public class BuyBikeResult {

    /**
     * status : 200
     * data : {"payAmount":1,"alipay":"app_id=2017041206669129&biz_content=%7B%22product_code%22%3A%22QUICK_MSECURITY_PAY%22%2C%22total_amount%22%3A%221.00%22%2C%22subject%22%3A%22%E8%AE%A4%E8%B4%AD%E5%8D%95%E8%BD%A6%22%2C%22body%22%3A%22%E8%AE%A4%E8%B4%AD%E5%8D%95%E8%BD%A6%22%2C%22out_trade_no%22%3A%227283396a3dd411e7ae08f893cdfbd3bb%22%7D&charset=utf-8&method=alipay.trade.app.pay&notify_url=http%3A%2F%2Fwww.zhouyibike.com%3A8000%2FPayment%2FAlipayCallBack&sign=R5%2FXedd6JAtwGZVG6iM6HBx0Z%2BkStahkDQo6gJK5RQMUhPash2Cnk5Kd0HY8WNhM4PwT0zBAiqInOmhf2RV52bZt%2FPNc9RpnUJrdheg7vSCANtbEgS3L26HqyUqtoCoac4EhPvNY4WBRwUU7FJNnL4uFy8Y3zrrHkO7%2FAnYV1CA%3D&sign_type=RSA&timestamp=2017-05-21+11%3A20%3A33&version=1.0","weChat":"{\"appId\":\"wx6a982211ac5a6a48\",\"partnerId\":\"1475429902\",\"prepayId\":\"wx20170521112033e459401c490843170657\",\"package\":\"Sign=WXPay\",\"noncestr\":\"f00d7dc4b42648fcbfed716ca9a22a0e\",\"timestamp\":\"1495365633\",\"orderId\":\"00000000-0000-0000-0000-000000000000\",\"payType\":0,\"sign\":\"56C83167AB643D2089CF254899B84964\"}"}
     * message : 操作成功!
     */

    private int status;
    private DataBean data;
    private String message;

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public static class DataBean {
        /**
         * payAmount : 1
         * alipay : app_id=2017041206669129&biz_content=%7B%22product_code%22%3A%22QUICK_MSECURITY_PAY%22%2C%22total_amount%22%3A%221.00%22%2C%22subject%22%3A%22%E8%AE%A4%E8%B4%AD%E5%8D%95%E8%BD%A6%22%2C%22body%22%3A%22%E8%AE%A4%E8%B4%AD%E5%8D%95%E8%BD%A6%22%2C%22out_trade_no%22%3A%227283396a3dd411e7ae08f893cdfbd3bb%22%7D&charset=utf-8&method=alipay.trade.app.pay&notify_url=http%3A%2F%2Fwww.zhouyibike.com%3A8000%2FPayment%2FAlipayCallBack&sign=R5%2FXedd6JAtwGZVG6iM6HBx0Z%2BkStahkDQo6gJK5RQMUhPash2Cnk5Kd0HY8WNhM4PwT0zBAiqInOmhf2RV52bZt%2FPNc9RpnUJrdheg7vSCANtbEgS3L26HqyUqtoCoac4EhPvNY4WBRwUU7FJNnL4uFy8Y3zrrHkO7%2FAnYV1CA%3D&sign_type=RSA&timestamp=2017-05-21+11%3A20%3A33&version=1.0
         * weChat : {"appId":"wx6a982211ac5a6a48","partnerId":"1475429902","prepayId":"wx20170521112033e459401c490843170657","package":"Sign=WXPay","noncestr":"f00d7dc4b42648fcbfed716ca9a22a0e","timestamp":"1495365633","orderId":"00000000-0000-0000-0000-000000000000","payType":0,"sign":"56C83167AB643D2089CF254899B84964"}
         */

        private int payAmount;
        private String alipay;
        private String weChat;

        public int getPayAmount() {
            return payAmount;
        }

        public void setPayAmount(int payAmount) {
            this.payAmount = payAmount;
        }

        public String getAlipay() {
            return alipay;
        }

        public void setAlipay(String alipay) {
            this.alipay = alipay;
        }

        public String getWeChat() {
            return weChat;
        }

        public void setWeChat(String weChat) {
            this.weChat = weChat;
        }
        public static class weChat{

            /**
             * appId : wx6a982211ac5a6a48
             * partnerId : 1475429902
             * prepayId : wx20170521112033e459401c490843170657
             * package : Sign=WXPay
             * noncestr : f00d7dc4b42648fcbfed716ca9a22a0e
             * timestamp : 1495365633
             * orderId : 00000000-0000-0000-0000-000000000000
             * payType : 0
             * sign : 56C83167AB643D2089CF254899B84964
             */

            private String appId;
            private String partnerId;
            private String prepayId;
            @SerializedName("package")
            private String packageX;
            private String noncestr;
            private String timestamp;
            private String orderId;
            private int payType;
            private String sign;

            public String getAppId() {
                return appId;
            }

            public void setAppId(String appId) {
                this.appId = appId;
            }

            public String getPartnerId() {
                return partnerId;
            }

            public void setPartnerId(String partnerId) {
                this.partnerId = partnerId;
            }

            public String getPrepayId() {
                return prepayId;
            }

            public void setPrepayId(String prepayId) {
                this.prepayId = prepayId;
            }

            public String getPackageX() {
                return packageX;
            }

            public void setPackageX(String packageX) {
                this.packageX = packageX;
            }

            public String getNoncestr() {
                return noncestr;
            }

            public void setNoncestr(String noncestr) {
                this.noncestr = noncestr;
            }

            public String getTimestamp() {
                return timestamp;
            }

            public void setTimestamp(String timestamp) {
                this.timestamp = timestamp;
            }

            public String getOrderId() {
                return orderId;
            }

            public void setOrderId(String orderId) {
                this.orderId = orderId;
            }

            public int getPayType() {
                return payType;
            }

            public void setPayType(int payType) {
                this.payType = payType;
            }

            public String getSign() {
                return sign;
            }

            public void setSign(String sign) {
                this.sign = sign;
            }
        }
    }
}
